get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(__DIR "${_DIR}" PATH)
# 1 配置 linux zlib 模块
set(ZLIB_CONFIGURE
${CMAKE_COMMAND}
CACHE STRING "zlib configure")

# 2 配置 linux openssl 模块
set(OPENSSL_CONFIGURE
<SOURCE_DIR>/Configure
linux-x86_64
CACHE STRING "openssl configure")
# 2.1 openssl 构建命令
set(OPENSSL_BUILD_COMMAND
make -j${NPROC}
CACHE STRING "openssl build command")

# 3 配置 linux x264 模块
set(X264_CONFIGURE
<SOURCE_DIR>/configure
--host-os=linux          # 目标操作系统
--arch=x86_64            # 架构
CACHE STRING "x264 configure")
# 4 配置 linux mp3lame 模块
set(MP3LAME_CONFIGURE CACHE STRING "mp3lame configure")

# linux ffmpeg 配置
include(${_DIR}/linux_config_ffmpeg_module.cmake)








